﻿using System;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace DevTools.Romanizer.Forms
{
    public partial class AddUserItemForm : XtraForm
    {
        public AddUserItemForm()
        {
            InitializeComponent();
        }

        public AddUserItemForm(char key)
        {
            InitializeComponent();

            lblKey.Text = key.ToString();
        }

        public string Value
        {
            get { return txeValue.Text; }
        }

        private void btnAdd_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
            Close();
        }
    }
}